﻿using System;
using System.Collections.Generic;
using System.Data;

namespace EnterpriseLibraryGeneric.DataAccess
{
    class DataAccessManager : IDataAccessComponentManager
    {
        public DataAccessManager(string dataProvider)
        {
        }

        public int ExecuteNonQuery(string commandToExecute, CommandType commandType)
        {
            return 1;
        }


        public int ExecuteNonQuery(string commandToExecute, CommandType commandType, IList<DataAccessParameter> parametros)
        {
            return 1;
        }

        public int ExecuteNonQueryBlob(string commandToExecute, CommandType commandType, IList<DataAccessParameter> parametros)
        {
            return 1;
        }

        public DataSet ExecuteQuery(string commandToExecute, CommandType commandType)
        {
            return new DataSet();
        }

        public DataSet ExecuteQuery(string commandToExecute, CommandType commandType, IList<DataAccessParameter> parametros)
        {
            return new DataSet();
        }

        public void BeginTransaction()
        {
        }

        public void CommitTransaction()
        {
        }

        public void RollBackTransaction()
        {
        }
    }
}
